/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package br.com.agi.devsol.aplicacao.home;

import br.com.agi.devsol.aplicacao.requisito.ColetorRequisito;
import javax.enterprise.context.RequestScoped;
import javax.inject.Inject;
import javax.inject.Named;

/**
 *
 * @author rgrosz
 */
@RequestScoped
@Named
public class MenuHome {
    @Inject
    private ColetorRequisito coletorRequisito;
    public String chamarRequisitos(){
        coletorRequisito.createRequisito();
        coletorRequisito.initConversation();
        return "requisitos/index";
    }
    
    public void setColetorRequisito(ColetorRequisito coletor){
        this.coletorRequisito = coletor;
    }
}
